package com.bee.littlebeetravel.activity;

import android.os.Bundle;
import android.widget.TextView;

import com.bee.littlebeetravel.R;
import com.bee.littlebeetravel.utils.AppManager;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class DescActivity extends BaseActivity {

    @BindView(R.id.tv_title)
    TextView tv_title;

    @OnClick(R.id.iv_back)
    public void back() {
        finish();
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_desc);
        ButterKnife.bind(this);
        AppManager.getInstance().addActivity(this);
        String title = getIntent().getStringExtra("title");
        if (title != null) {
            tv_title.setText(title);
        }

    }
}